<template>
    <div class="contain">
         <!-- 头部部分 -->
            <van-nav-bar class="header">
                <i slot="left" class="iconfont iconzuojiantou" @click="$router.go(-1)"></i>
                <p slot="title" class="title">个人中心</p>
                <i slot="right" class="iconfont iconshezhi"></i>
            </van-nav-bar>
            <!-- 内容部分 -->
            <div class="main">
                    <div class="user">
                        <div class="user-top">
                                <div class="logo">
                                    <van-image                             
                                        :src="require('@/assets/403802bf52671af9fe374bef30c36189565d9ff222690-j90azd_fw658.png')"                                              
                                        fit="cover"                                                                           
                                    />
                                </div>
                                <div class="text">
                                    <h3>Charlotter</h3>
                                    <div class="boke">
                                         <van-image                             
                                        :src="require('@/assets/tag.png')"                                              
                                         fit="cover"                                                                           
                                        />
                                         <p><i></i>时尚博客</p>
                                    </div>
                                    
                                </div>
                        </div>
                        <div class="user-bottom">
                            <div class="member">
                                 <van-image                             
                                        :src="require('@/assets/credit-card.png')"                                              
                                         fit="cover"                                                                           
                                        />
                                <h3>会员</h3>
                            </div>
                            <div class="member">
                                 <van-image                             
                                        :src="require('@/assets/favorite.png')"                                              
                                         fit="cover"                                                                           
                                        />
                                <h3>收藏</h3>
                            </div>
                            <div class="member">
                                 <van-image                             
                                        :src="require('@/assets/bag.png')"                                              
                                         fit="cover"                                                                           
                                        />
                                <h3>购物</h3>
                            </div>
                            <div class="member">
                                 <van-image                             
                                        :src="require('@/assets/store.png')"                                              
                                         fit="cover"                                                                           
                                        />
                                <h3>商店</h3>
                            </div>
                        </div>
                    </div>
                    <!-- 操作列表 -->
                    <div class="ul-list">
                        <van-cell-group>
                            <van-cell>
                                <h3 slot="title" class="list-title">我的资料</h3>
                                <i slot="default" class="iconfont iconright-arrow list-icon"></i>
                            </van-cell>
                            <van-cell>
                                <h3 slot="title" class="list-title">账户信息</h3>
                                <i slot="default" class="iconfont iconright-arrow list-icon"></i>
                            </van-cell>
                            <van-cell>
                                <h3 slot="title" class="list-title">密码</h3>
                                <i slot="default" class="iconfont iconright-arrow list-icon"></i>
                            </van-cell>
                            <van-cell>
                                <h3 slot="title" class="list-title">设置</h3>
                                <i slot="default" class="iconfont iconright-arrow list-icon"></i>
                            </van-cell>
                            <van-cell>
                                <h3 slot="title" class="list-title">消息</h3>
                                <i slot="default" class="iconfont iconright-arrow list-icon"></i>
                            </van-cell>
                            <van-cell>
                                <h3 slot="title" class="list-title">关于我们</h3>
                                <i slot="default" class="iconfont iconright-arrow list-icon"></i>
                            </van-cell>
                            <van-cell>
                                <h3 slot="title" class="list-title">意见反馈</h3>
                                <i slot="default" class="iconfont iconright-arrow list-icon"></i>
                            </van-cell>
                            <van-cell>
                                <h3 slot="title" class="list-title">帮助</h3>
                                <i slot="default" class="iconfont iconright-arrow list-icon"></i>
                            </van-cell>
                        </van-cell-group>
                    </div>
            </div>
    </div>
</template>
<style lang="less">
.contain{
    // 头部部分
     // 头部下划线
    .van-hairline--bottom::after{
        border: none;
    }
    .header{        
        .iconzuojiantou{
                font-size: 40px;
                color: #535353;
                padding-left: 20px;
        }
        .title{
            font-size: 32px;
            font-weight: normal;
            font-stretch: normal;
            letter-spacing: 0px;
            color: #484747;
        }
        .iconshezhi{
            font-size: 40px;
            color: #535353;
            padding-right: 20px;
        }
    }
    .main{
        text-align: left;
        .van-hairline--top-bottom::after, .van-hairline-unset--top-bottom::after{
            border: none;
        }
        .user{
            padding: 0px 68px 60px;
            .user-top{
                display: flex;
                flex-direction: row;
                align-items: center;
                padding-bottom: 38px;
                .logo{   
                    margin-right: 41px;                        
                    img{
                         width: 140px;
                        height: 140px;
                        display: block;
                        border-radius: 50%;
                    }
                }
                .text{
                    h3{
                        font-size: 36px;
                        font-weight: normal;
                        font-stretch: normal;
                        letter-spacing: 0px;
                        color: #4a4a4a;
                        margin-bottom: 5px;
                    }
                    .boke{
                        display: flex;
                        flex-direction: row;
                        img{
                            width: 24px;
                            height: 24px;
                            display: block;
                            margin-right: 7px;
                        }                       
                        p{
                            font-size: 16px;
                            font-weight: normal;
                            font-stretch: normal;
                            letter-spacing: 0px;
                            color: #9b9b9b;
                        }
                    }
                   
                }
            }
            .user-bottom{
                display: flex;
                flex-direction: row;
                justify-content: space-around;
                .member:nth-of-type(1){
                    img{
                        width: 40px;
                        height: 32px;
                        display: block;                   
                    }
                }
                .member{
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: space-between;
                    img{
                        width: 40px;
                        height: 40px;
                        display: block;
                        margin-bottom: 14px;
                    }
                    h3{
                        font-size: 24px;
                        font-weight: normal;
                        font-stretch: normal;
                        letter-spacing: 0px;
                        color: #555555;
                    }
                }        
            }
        }
        .ul-list{
            padding: 0px 55px;
            .van-cell{
                line-height: 100%;
                padding: 26px 0px;
            }
            .van-cell::after{
                border: none;
            }
            .list-title{
                font-size: 28px;
                line-height: 39px;
                font-weight: normal;
                font-stretch: normal;
                letter-spacing: 0px;
                color: #555555;
            }
            .list-icon{
                font-size: 35px;
                color: #d5d5d5;
                margin-top: 5px;
                display: block;
            }
        }
    }
}
</style>
